package com.mtiiot.fscore.utils;

/**
 * 报告单输出类型
 * Created by lcy on 16-5-30.
 */
public enum ReportFormatType {
    DOC {public int getFormatType(){return 10;}
         public String getExt(){return "doc";}},
    BMP {public int getFormatType(){return 102;}
         public String getExt(){return "bmp";}},
    DOCM {public int getFormatType(){return 21;}
        public String getExt(){return "docm";}},
    DOCX {public int getFormatType(){return 20;}
        public String getExt(){return "docx";}},
    DOT {public int getFormatType(){return 11;}
        public String getExt(){return "dot";}},
    DOTM {public int getFormatType(){return 23;}
        public String getExt(){return "dotm";}},
    DOTX {public int getFormatType(){return 22;}
        public String getExt(){return "dotx";}},
    //XPSFORMAT_DOC {public int getFormatType(){return "XPSFORMAT_DOC";}},
    EPUB {public int getFormatType(){return 52;}
        public String getExt(){return "epub";}},
    FLAT_OPC {public int getFormatType(){return 24;}
        public String getExt(){return "flat_opc";}},
    FLAT_OPC_MACRO_ENABLED {public int getFormatType(){return 25;}
        public String getExt(){return "flat_opc_macro_enabled";}},
    FLAT_OPC_TEMPLATE {public int getFormatType(){return 26;}
        public String getExt(){return "flat_opc_template";}},
    FLAT_OPC_TEMPLATE_MACRO_ENABLED {public int getFormatType(){return 27;}
        public String getExt(){return "flat_opc_template_macro_enabled";}},
    HTML {public int getFormatType(){return 50;}
        public String getExt(){return "html";}},
    HTML_FIXED {public int getFormatType(){return 45;}
        public String getExt(){return "html_flxed";}},
    JPEG {public int getFormatType(){return 104;}
        public String getExt(){return "jpeg";}},
    MHTML {public int getFormatType(){return 51;}
        public String getExt(){return "mhtml";}},
    ODT {public int getFormatType(){return 60;}
        public String getExt(){return "odt";}},
    OPEN_XPS {public int getFormatType(){return 46;}
        public String getExt(){return "open_xps";}},
    OTT {public int getFormatType(){return 61;}
        public String getExt(){return "ott";}},
    PDF {public int getFormatType(){return 40;}
        public String getExt(){return "pdf";}},
    PNG {public int getFormatType(){return 101;}
        public String getExt(){return "png";}},
    PS {public int getFormatType(){return 47;}
        public String getExt(){return "ps";}},
    RTF {public int getFormatType(){return 30;}
        public String getExt(){return "rtf";}},
    SVG {public int getFormatType(){return 44;}
        public String getExt(){return "svg";}},
    SWF {public int getFormatType(){return 43;}
        public String getExt(){return "swf";}},
    TEXT {public int getFormatType(){return 70;}
        public String getExt(){return "text";}},
    TIFF {public int getFormatType(){return 100;}
        public String getExt(){return "tiff";}},
    UNKNOWN {public int getFormatType(){return 0;}
        public String getExt(){return "unknown";}},
    WORD_ML {public int getFormatType(){return 31;}
        public String getExt(){return "word_ml";}},
    XAML_FIXED {public int getFormatType(){return 42;}
        public String getExt(){return "xaml_fixed";}},
    XAML_FLOW {public int getFormatType(){return 71;}
        public String getExt(){return "xaml_flow";}},
    XAML_FLOW_PACK {public int getFormatType(){return 72;}
        public String getExt(){return "xaml_flow_pack";}},
    XPS {public int getFormatType(){return 41;}
        public String getExt(){return "xps";}};
    public abstract int getFormatType();
    public abstract String getExt();
}
